﻿using System.Web.Mvc;
using Utilities;

namespace Sovigaz.App_Start
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            filters.Add(new LogAndRedirectOnErrorAttribute());
            filters.Add(new AuthenticationAttribute());
        }
    }
}